#!/usr/bin/env python
# _*_ coding: utf-8 _*_
# @Time : 2020/11/30 22:13
# @Author : 詹荣瑞
# @File : mytest.py
# @desc : 本代码未经授权禁止商用
from bonetex import *


def test():
    return Command("test")("a", "b", a=2)


doc = Document()
# doc.pre_append(test())
doc.body.contents.append(Section("asd"))
doc.body.contents.append(test())
# print(CommandLine("asd", ["1", "2"], ["asd", "dddd"]).latex())
# print(test().latex())
if __name__ == '__main__':
    print(doc.latex())
